package cc.mrbird.febs.power.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author MrBird
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class RoleBindAppInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 角色ID
     */
    @TableId("roleId")
    private Long roleId;

    /**
     * 系统ID
     */
    @TableField("appId")
    private String appId;

    public RoleBindAppInfo(Long roleId, String appId) {
        this.roleId = roleId;
        this.appId = appId;
    }

    public RoleBindAppInfo() {
    }
}
